package com.zhou.bpm.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhou.bpm.domain.dto.WorkspaceRequest;
import com.zhou.bpm.domain.vo.HistoryVo;
import com.zhou.bpm.domain.vo.WorkspaceVo;

import java.util.List;

/**
 * @Author: zhoujinchuan
 * @Description: TODO（请添加描述）
 * @CreateTime: 2023/10/26 10:38
 */
public interface IWorkspaceService {

    /**
     * 查看审批历史列表
     *
     * @param instanceId
     * @return
     */
    List<HistoryVo> approvalProcess(Integer instanceId);

    /**
     * 查询列表
     * @param pageNum
     * @param pageSize
     * @param accountCode
     * @param workspaceRequest
     * @param type (1-我的申请 2-我的待办 3我的已办)
     * @return
     */
    Page<WorkspaceVo> pageQuery(Integer pageNum, Integer pageSize, Integer accountCode, WorkspaceRequest workspaceRequest,String type);


}
